<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>关系运算符</title>
</head>

<body>
    <p>关系运算符：</p>
    <p>大于：>，小于：<，大于等于：>=，小于等于：<=，等于：==，不等于：！=，全等：===，不全等：！==。< /p>
    <p style="color:red">注："=" 为赋值运算符。</p>
    <script>
        var a;
        var b;
        var c;
        a = 10=="10";
        b = 10==="10";
        c = 10!=="10";
        document.write("a = ",a,"<br>");
        document.write("b = ",b,"<br>");
        document.write("c = ",c,"<br>");
    </script>
</body>

</html>